import flet as ft

name = "TextButtons with custom content"

def example():
    
    return ft.Column(
            [
                ft.TextButton(
                    width=150,
                    content=ft.Row(
                        [
                            ft.Icon(name=ft.icons.FAVORITE, color="pink"),
                            ft.Icon(name=ft.icons.AUDIOTRACK, color="green"),
                            ft.Icon(name=ft.icons.BEACH_ACCESS, color="blue"),
                        ],
                    alignment=ft.MainAxisAlignment.SPACE_AROUND,
                ),
            ),
                ft.TextButton(
                    content=ft.Container(
                    content=ft.Column(
                        [
                            ft.Text(value="Compound button", size=20),
                            ft.Text(value="This is secondary text"),
                        ],
                    alignment=ft.MainAxisAlignment.CENTER,
                    spacing=5,
                ),
                padding=ft.padding.all(10),
            ),
        )
            ]
        )